package com.jic.market.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 开团参数
 *
 * @author guohuayong
 * @date: 2020年01月20日
 */
@ApiModel("开团团员入参")
@Data
public class PatchGrouponInstDetailRequest extends BaseRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    private int start = 1;
    private int limit = 20;


    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("用户id")
    private Long customerId;

    @ApiModelProperty("活动id")
    private Long activityId;

    @ApiModelProperty("参团开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime ;

    @ApiModelProperty("参团结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("订单状态：0未支付，1已支付， 2已失效")
    private String paymentStatus;
}